package cn.yunhe.test;

import java.util.Scanner;

public class StudentTestLog {
    public static void main(String[] args) {
        StudentLog stu=new StudentLog();
        try {
            Scanner sc=new Scanner(System.in);
            String str=sc.nextLine();
            stu.setSex(str);
        }catch (Exception e){
            System.out.println("只能输入‘男’或‘女’!拜拜~");
        }
    }
}
